package com.xmy.cultivate.mapper;

import com.xmy.cultivate.entity.WecharsBind;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 微信绑定 Mapper 接口
 * </p>
 *
 * @author min
 * @since 2023-01-12
 */
public interface WecharsBindMapper extends BaseMapper<WecharsBind> {

    @Select("select openid from wechars_bind where student_id = #{studentId}")
    public abstract List<String> getSendOpenid(@Param("studentId") Long studentId);
}
